home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 …SCII & the Runetime Code / ADC Developer CD (1992-07) (''Butch ASCII And The Runtime Code'')_iso / Dev.CD 199207.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.003.SillyBalls / CSillyBalls.make < prev    next >
Encoding:
Text File  |  1992-06-04  |  1.6 KB  |  52 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Sample Application
  5. #
  6. #    SillyBalls
  7. #
  8. #    SillyBalls.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.00                8/88
  14. #                1.01                6/92
  15. #
  16. #    Components:    SillyBalls.p        August 1, 1988
  17. #                SillyBalls.c        August 1, 1988
  18. #                PSillyBalls.make    August 1, 1988
  19. #                CSillyBalls.make    August 1, 1988
  20. #                TCSillyBalls.π        June 4, 1992
  21. #
  22. #    This is a very simple sample program that demonstrates how to use Color 
  23. #    QuickDraw.  It is about two pages of code, and does nothing more than open
  24. #    a color window and draw randomly colored ovals in the window.
  25. #    
  26. #    The purpose is to show how to get some initial results with Color QuickDraw.
  27. #    It is a complete program and is very short to be as clear as possible.
  28. #    
  29. #    It does not have an Event Loop.  It is not fully functional in the sense that
  30. #    it does not do all the things you would expect a well behaved Macintosh 
  31. #    program to do, like size the window naturally, have an event loop, use menus, 
  32. #    etc.
  33. #
  34. #    See Sample and TESample for the general structure and MultiFinder techniques that
  35. #    we recommend that you use when building a new application.
  36. #
  37. # For MPW 2.0 we use the following line so that the the complete interfaces are there:
  38. # If you are using MPW 2.x or earlier, uncomment the following line:
  39. #COptions = -d __ALLNU__
  40. #
  41. # For MPW 3.0:  define MPW3, turn on strict prototyping (-r option)
  42. COptions = -d MPW3 -r
  43.  
  44.  
  45. Objs        =    SillyBalls.c.o ∂
  46.                 "{Libraries}"Interface.o ∂
  47.                 "{Libraries}"Runtime.o
  48.  
  49. CSillyBalls    ƒ    {Objs} CSillyBalls.make
  50.                 Link -o {Targ} {Objs}
  51.                 SetFile {Targ} -t APPL -c '????'
  52.